package cn.jbooter.simple.demo.system.model;

import java.util.Date;
import java.math.BigDecimal;
import java.sql.*;
import javax.persistence.*;


/**
 * 注意:注解只能加在属性字段上才会生效!
 * A_SYS_员工(最新数据)
 * @author code_generator
 */
@Table(name = "A_SYS_USER")
public class ASysUser implements java.io.Serializable{
	private static final long serialVersionUID = 1L;

	/** ID **/
	@Id
	private String id ; 

	/** 用户姓名 **/
	@Column(name="USER_NAME")
	private String userName ; 

	/** 登录名 **/
	@Column(name="LOGIN_NAME")
	private String loginName ; 

	/** 密码 **/
	@Column(name="PASSWORD")
	private String password ; 

	/** 机构编码 **/
	@Column(name="ORG_CODE")
	private String orgCode ; 

	/** 机构名称 **/
	@Column(name="ORG_NAME")
	private String orgName ; 

	/** 角色编码 **/
	@Column(name="ROLE_CODE")
	private String roleCode ; 

	/** 角色名称 **/
	@Column(name="ROLE_NAME")
	private String roleName ; 

	/** 状态  （是：13900001   否：13900002） **/
	@Column(name="STATUS")
	private String status ; 

	/** 跑批状态(码类：Is_No) **/
	@Column(name="BATCH_STATUS")
	private String batchStatus ; 

	/** 姓别 **/
	@Column(name="SEX")
	private String sex ; 

	/** 生日 **/
	@Column(name="BIRHDAY")
	private String birhday ; 

	/** 证件号 **/
	@Column(name="CARD_NO")
	private String cardNo ; 

	/** 代理状态（码值待定） **/
	@Column(name="POLITICAL_STATUS")
	private String politicalStatus ; 

	/** 用户等级 **/
	@Column(name="USER_LEVEL")
	private String userLevel ; 

	/** 工作年限  **/
	@Column(name="WORK_YEARS")
	private Integer workYears ; 

	/** 学历（码类：Education） **/
	@Column(name="EDUCATION")
	private String education ; 

	/** 移动电话 **/
	@Column(name="MOBILE")
	private String mobile ; 

	/** 邮箱 **/
	@Column(name="EMAIL")
	private String email ; 

	/** 家庭住址 **/
	@Column(name="HOME_ADDR")
	private String homeAddr ; 

	/** 家庭电话 **/
	@Column(name="HOME_TEL")
	private String homeTel ; 

	/** 办公电话 **/
	@Column(name="OFFICE_TEL")
	private String officeTel ; 

	/** 旧密码 **/
	@Column(name="OLD_PASSWORD")
	private String oldPassword ; 

	/** 旧密码修改时间 **/
	@Column(name="PWD_UPDT_DATE")
	private Date pwdUpdtDate ; 

	/** 密码使用期限 **/
	@Column(name="USE_DURATION")
	private String useDuration ; 

	/** 是否启用密码期限策略（码类：Is_No） **/
	@Column(name="IS_NO")
	private String isNo ; 

	/** 创建人员编码 **/
	@Column(name="INST_USER_NO")
	private String instUserNo ; 

	/** 创建人员姓名 **/
	@Column(name="INST_USER_NAME")
	private String instUserName ; 

	/** 创建时间 **/
	@Column(name="INST_DATE")
	private Date instDate ; 

	/** 创建机构编码 **/
	@Column(name="INST_ORG_CODE")
	private String instOrgCode ; 

	/** 创建机构名称 **/
	@Column(name="INST_ORG_NAME")
	private String instOrgName ; 

	/** 更新人员编码 **/
	@Column(name="UPDT_USER_NO")
	private String updtUserNo ; 

	/** 更新人员姓名 **/
	@Column(name="UPDT_USER_NAME")
	private String updtUserName ; 

	/** 更新时间 **/
	@Column(name="UPDT_DATE")
	private Date updtDate ; 

	/** 更新机构编码 **/
	@Column(name="UPDT_ORG_CODE")
	private String updtOrgCode ; 

	/** 更新机构名称 **/
	@Column(name="UPDT_ORG_NAME")
	private String updtOrgName ; 

	/** 备注 **/
	@Column(name="REMARK")
	private String remark ; 

	/** 信用年限 **/
	@Column(name="CREDIT_YEAR")
	private Integer creditYear ; 

	/** 登录错误次数 **/
	@Column(name="LOGIN_ERR_NUM")
	private Integer loginErrNum ; 

	/** 最后登录IP **/
	@Column(name="LAST_LOGIN_IP")
	private String lastLoginIp ; 

	/** 最后登录时间 **/
	@Column(name="LAST_LOGIN_DATE")
	private String lastLoginDate ; 


	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	
	public String getBatchStatus() {
		return batchStatus;
	}
	public void setBatchStatus(String batchStatus) {
		this.batchStatus = batchStatus;
	}
	
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public String getBirhday() {
		return birhday;
	}
	public void setBirhday(String birhday) {
		this.birhday = birhday;
	}
	
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	
	public String getPoliticalStatus() {
		return politicalStatus;
	}
	public void setPoliticalStatus(String politicalStatus) {
		this.politicalStatus = politicalStatus;
	}
	
	public String getUserLevel() {
		return userLevel;
	}
	public void setUserLevel(String userLevel) {
		this.userLevel = userLevel;
	}
	
	public Integer getWorkYears() {
		return workYears;
	}
	public void setWorkYears(Integer workYears) {
		this.workYears = workYears;
	}
	
	public String getEducation() {
		return education;
	}
	public void setEducation(String education) {
		this.education = education;
	}
	
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getHomeAddr() {
		return homeAddr;
	}
	public void setHomeAddr(String homeAddr) {
		this.homeAddr = homeAddr;
	}
	
	public String getHomeTel() {
		return homeTel;
	}
	public void setHomeTel(String homeTel) {
		this.homeTel = homeTel;
	}
	
	public String getOfficeTel() {
		return officeTel;
	}
	public void setOfficeTel(String officeTel) {
		this.officeTel = officeTel;
	}
	
	public String getOldPassword() {
		return oldPassword;
	}
	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}
	
	public Date getPwdUpdtDate() {
		return pwdUpdtDate;
	}
	public void setPwdUpdtDate(Date pwdUpdtDate) {
		this.pwdUpdtDate = pwdUpdtDate;
	}
	
	public String getUseDuration() {
		return useDuration;
	}
	public void setUseDuration(String useDuration) {
		this.useDuration = useDuration;
	}
	
	public String getIsNo() {
		return isNo;
	}
	public void setIsNo(String isNo) {
		this.isNo = isNo;
	}
	
	public String getInstUserNo() {
		return instUserNo;
	}
	public void setInstUserNo(String instUserNo) {
		this.instUserNo = instUserNo;
	}
	
	public String getInstUserName() {
		return instUserName;
	}
	public void setInstUserName(String instUserName) {
		this.instUserName = instUserName;
	}
	
	public Date getInstDate() {
		return instDate;
	}
	public void setInstDate(Date instDate) {
		this.instDate = instDate;
	}
	
	public String getInstOrgCode() {
		return instOrgCode;
	}
	public void setInstOrgCode(String instOrgCode) {
		this.instOrgCode = instOrgCode;
	}
	
	public String getInstOrgName() {
		return instOrgName;
	}
	public void setInstOrgName(String instOrgName) {
		this.instOrgName = instOrgName;
	}
	
	public String getUpdtUserNo() {
		return updtUserNo;
	}
	public void setUpdtUserNo(String updtUserNo) {
		this.updtUserNo = updtUserNo;
	}
	
	public String getUpdtUserName() {
		return updtUserName;
	}
	public void setUpdtUserName(String updtUserName) {
		this.updtUserName = updtUserName;
	}
	
	public Date getUpdtDate() {
		return updtDate;
	}
	public void setUpdtDate(Date updtDate) {
		this.updtDate = updtDate;
	}
	
	public String getUpdtOrgCode() {
		return updtOrgCode;
	}
	public void setUpdtOrgCode(String updtOrgCode) {
		this.updtOrgCode = updtOrgCode;
	}
	
	public String getUpdtOrgName() {
		return updtOrgName;
	}
	public void setUpdtOrgName(String updtOrgName) {
		this.updtOrgName = updtOrgName;
	}
	
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public Integer getCreditYear() {
		return creditYear;
	}
	public void setCreditYear(Integer creditYear) {
		this.creditYear = creditYear;
	}
	
	public Integer getLoginErrNum() {
		return loginErrNum;
	}
	public void setLoginErrNum(Integer loginErrNum) {
		this.loginErrNum = loginErrNum;
	}
	
	public String getLastLoginIp() {
		return lastLoginIp;
	}
	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}
	
	public String getLastLoginDate() {
		return lastLoginDate;
	}
	public void setLastLoginDate(String lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}
	

}
